﻿<%@ Page Title="Connection" Language="C#" MasterPageFile="~/OutlookMaster.master" AutoEventWireup="true"
    CodeFile="Connection.aspx.cs" Inherits="Pages_Connection" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPage" runat="Server">
    <table border="0">
        <tr>
            <td>
                <asp:Label ID="lblConnectionName" runat="server" Text="Connection name"></asp:Label>
            </td>
            <td align="left" colspan="3">
                <asp:TextBox ID="txtConnectionName" runat="server" Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblConnectionString" runat="server" Text="ConnectionString"></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="txtConnectionString" runat="server" Width="700px"></asp:TextBox>
            </td>
            <td>
                <asp:Button ID="btnTest" runat="server" Text="Test" onclick="btnTest_Click" />
             
            </td>
            <td>
                <asp:Image ID="imgOK" runat="server" ImageUrl="images/icons/checkmark_16.png" Visible="False" />
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <asp:Label ID="lblMessage" runat="server" Text="" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <hr />
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="btnSave" runat="server" Text="Save" onclick="btnSave_Click" />
            </td>
            <td align="right" colspan="3">
                <asp:Button ID="btnDelete" runat="server" Text="Delete" 
                    onclick="btnDelete_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
